package com.itheima.d10_permission_modifiers.other;

import com.itheima.d10_permission_modifiers.Father;

public class OtherPackageSonClass extends Father {

    //情况3：在不同包的子孙类中
    public void sonTest() {
        publicMethod();
        protectedMethod();
        //defaultMethod();
        //privateMethod();
    }

}



